package com.focus.xyz.other.pages.tpytb;

import org.openqa.selenium.WebDriver;
import org.openqa.selenium.WebElement;
import org.openqa.selenium.support.FindBy;
import org.openqa.selenium.support.PageFactory;

/**
 * Created by chenmeng on 2016/4/1.
 */
public class ReLoginPage {
    @FindBy(xpath = "//input[@name='buttonrelogin']")
    private WebElement reloginBtn;

    public ReLoginPage(WebDriver driver){
        PageFactory.initElements(driver,this);
    }

    public void clickRelogin() throws Exception{
        this.reloginBtn.click();
    }
}
